package kr.hyunist.androidcomplete01saeildamil.ch13;

import kr.hyunist.androidcomplete01saeildamil.*;
import kr.hyunist.androidcomplete01saeildamil.ch09.*;
import android.app.*;
import android.content.*;
import android.os.*;
import android.view.*;

public class Ch13Activity extends Activity {
	Intent intent = null;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch13activity);
	}

	public void mOnClick(View v) {
		switch (v.getId()) {
		case R.id.ch13subtitle1:
			intent = new Intent(this, ProgressbarTest.class);
			break;
		case R.id.ch13subtitle2:
			intent = new Intent(this, ProgressbarEx.class);
			break;	
		case R.id.ch13subtitle3:
			intent = new Intent(this, SeekbarTest.class);
			break;
		case R.id.ch13subtitle4:
			intent = new Intent(this, SeekbarEx.class);
			break;	
		case R.id.ch13subtitle5:
			intent = new Intent(this, RatingbarTest.class);
			break;	
		case R.id.ch13subtitle6:
			intent = new Intent(this, DateTimeTest.class);
			break;
		case R.id.ch13subtitle7:
			intent = new Intent(this, DateTimeEx.class);
			break;
		case R.id.ch13subtitle8:
			intent = new Intent(this, ClockTest.class);
			break;
		case R.id.ch13subtitle9:
			intent = new Intent(this, DatePickerTest.class);
			break;
		case R.id.ch13subtitle10:
			intent = new Intent(this, TimePickerTest.class);
			break;
		case R.id.ch13subtitle11:
			intent = new Intent(this, DatePickerTimePickerEx.class);
			break;
		}
		startActivity(intent);
	}
}
